package com.lancoo.cvas.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.lancoo.cvas.entity.Segment;

import java.util.List;

/**
 * 环节
 *
 * @author liufeng
 * @email 1037383243@qq.com
 * @date 2023-12-04 11:54:00
 */
public interface SegmentService extends IService<Segment> {


    /**
     * 通过班级查找对应环节
     * @param taskId
     * @param classId
     * @return
     */
    List<Segment> getSegmentListByClass(Integer taskId, String classId,String baseTeachingPlanId);

    /**
     * 根据年级专业获取环节
     * @param taskId
     * @param gradeId
     * @param majorId
     * @return
     */
    List<Segment> getSegmentListByMajor(Integer taskId, String gradeId, Long majorId,String baseTeachingPlanId);
}

